//
//  BaseCollectionViewCell.h
//  WIFI
//
//  Created by linnzh on 2023/3/27.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface BaseCollectionViewCell : UICollectionViewCell

@property (nonatomic, strong) id model;

+ (CGSize)cellSize;

+ (NSValue *)cellSizeValue;

+ (NSString *)cellIdentifier;

+ (void)registerCellInCollectionView:(UICollectionView *)collectionView;

+ (instancetype)cellWithIndexPath:(NSIndexPath *)indexPath atCollectionView:(UICollectionView *)collectionView;

- (void)setupSubviews;

@end

NS_ASSUME_NONNULL_END
